home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / dev / amos / AMOSList0993.lzh / AMOSLIST / 000300_amos-request@svcs1.digex.net_Thu Sep 30 17:53:46 1993.msg < prev    next >
Internet Message Format  |  1993-10-03  |  2KB

  1. Received: from nextsun.INS.CWRU.Edu by access.digex.net with SMTP id AA03374
  2.   (5.65c/IDA-1.4.4 for <mcox@access.digex.com>); Thu, 30 Sep 1993 17:53:43 -0400
  3. Received: from svcs1.digex.net by nextsun.INS.CWRU.Edu with SMTP (5.65b+ida+/CWRU-1.5.2-freenet-gw)
  4.     id AA18697; Thu, 30 Sep 93 17:51:58 -0400 (from amos-request@svcs1.digex.net for mcox@access.digex.com)
  5. Received: by svcs1.digex.net id AA08197
  6.   (5.65c/IDA-1.4.4 for amos-list-out); Thu, 30 Sep 1993 17:36:18 -0400
  7. Received: from access.digex.net by svcs1.digex.net with SMTP id AA08193
  8.   (5.65c/IDA-1.4.4 for <amos-list@svcs1.digex.net>); Thu, 30 Sep 1993 17:36:16 -0400
  9. Received: from vax.mbhs.edu by access.digex.net with SMTP id AA25619
  10.   (5.65c/IDA-1.4.4 for <amos-list@access.digex.net>); Thu, 30 Sep 1993 17:36:08 -0400
  11. Message-Id: <199309302136.AA25619@access.digex.net>
  12. Date: 30 Sep 93 17:35:00 EST
  13. From: "Andrew Church" <95ACHURCH@vax.mbhs.edu>
  14. Subject: Re: Output Joy
  15. To: "amos-list" <amos-list@access.digex.net>
  16. Status: O
  17.  
  18. >  I've done some simple things in interfacing TTL circuits to the parallel
  19. >port, using AMOS (1.3x).  (Just peeks and pokes to configure the data direction
  20. >and data registers)  Does anyone have any info on using joystick #2 as an
  21. >output device?  (I just need a few more bits of O as in I/O!) Any info would
  22. >be appreciated.  - Wally
  23.  
  24.   Looking in my reference manual, the following statement should do the trick:
  25.  
  26. Doke $DFF034,$A000+(DAT9*$4000)+(DAT5*$1000)
  27.  
  28. where DAT9 is the data bit output over pin 9, and DAT5 is the bit output
  29. over pin 5.  I think (though I'm not sure) that the lines are active low.
  30.  
  31.   --Andy Church
  32.